import request from '@/utils/request'

// 查询成果移除箱列表
export function listTrash(query) {
  return request({
    url: '/team/trash/list',
    method: 'get',
    params: query
  })
}

// 查询成果移除箱详细
export function getTrash(id) {
  return request({
    url: '/team/trash/' + id,
    method: 'get'
  })
}

// 新增成果移除箱
export function addTrash(data) {
  return request({
    url: '/team/trash',
    method: 'post',
    data: data
  })
}

// 修改成果移除箱
export function updateTrash(data) {
  return request({
    url: '/team/trash',
    method: 'put',
    data: data
  })
}

// 删除成果移除箱
export function delTrash(id) {
  return request({
    url: '/team/trash/' + id,
    method: 'delete'
  })
}
